package cn.bcsp.hotevent.mapper;

import cn.bcsp.hotevent.pojo.Hotevents;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author astupidcoder
 * @since 2021-08-21
 */
public interface HoteventsMapper extends BaseMapper<Hotevents> {
    int selectCount(@Param("keyWord") String keyWord);

    List<Hotevents> selectWhere(@Param("keyWord") String keyWord
            , @Param("startRow") Integer startRow,
                                @Param("pageSize") Integer pageSize);

    Hotevents selectById(@Param("id") Integer id);

    int update(@Param("id") Integer id);

}
